Manufacturing cycle time analysis and scheduling to optimize its duration