Optimal utilization of machinery and batch size for high capital trades