Use BFS to explore the parsing branches (instead of DFS).