Reset to BFS, fix black and white hole search