https://123dok.net/document/oz1730pz-how-to-simulate-a-volume-controlled-flooding-with-mathematical-morphology-operators.html