water body flooding bfs implemented