BFS to check expansion of populations