Fixed water flow algorithm