remove early stopping in BFS2 solved problem
Need to think of other early stopping possibility