tree max path