Node expansion during BFS