Towards automated remanufacturing process with additive manufacturing