Optimization of granular waste production based on mechanical properties