how to calculate mill capacity