bfs is bfs, not dijkstra's