removing subtrees