yield: don't double count multiple occurrences in a tree.