BFS completed