how to do costing for ball mill