id grinding cycle time calculation