first draft Recover BST