traverse the taxa tree