optimising the subcontract manufacturing