bfs almost done