An innovative approach to maximize primary treatment performance