Optimizing The Route of an Assembly Arm