bfs run without abcdef