removing nodes outside a range in a BST