BST get the max path sum