Added max path sum