pat_in_tree_2