Bfs, not dfs