a BFS that does not run