resolve Max_Tree