calculation of capacity of mill