Recover_Binary_Search_Tree - optimized version