Rewrite flood_water to use the new pmap, a CoordStack, and flags instead of tmp2