Algorithm for remanufacturing of damaged parts with hybrid 3D printing and machining process. (January 2018)