Optimization of Manufacturing Process