recovery binary tree