root +--X1 | +--Y1 | | +--Z1 | | \--Z2 | | | +--Y2 #### $t->purge_up_to($grandchild);