nodes at dist, parent node traversal