BFS traverse use stack