Maximum path sum