pat_in_tree_4