divide region

divide the region by BFS and find the seed ==count