partial tree traversing