Create check if subtrees