How the Diamond compact wastewater treatment plant works