Add BF traversal on the tree.