You will also often find, on longer flights, that the aircraft moves to a higher altitude during flight. The optimum altitude for fuel consumption is a function of aircraft weight. This goes down as fuel is burned, increasing the best altitude for flying. The ideal flight path is a very gradual climb, which ATC won't let them do, but one or two altitude changes aren't unusual if there's no other traffic in the way.