But now unlike breadth-first search where we automatically went to node B next, since that was the other layer one node, here the only rule is that we have to go next to one of A's immediate neighbors. 