Surrounded Regions, BFS on two directions