calculating a ball mill structure