modified turnon bfs condition
2 files changed