Starting BFS.