Maximum path