Modified flow of waste for optimization