the lake maintained a constant level even in the event of heavy rains or extreme drought by a series of specially located sensors around the shoreline and the filtering of the water was so pure that any algae or bacteria was chemically treated before it could spread .