BFS uses queue now