Does it glance over the whole song first off, at high speed, and determine areas of "needs more than the average" and "needs less than the average"?
Or does it take a few seconds into account, and uses more than specified bitrate when it first needs to, and then searches for a less than specified bitrate for the next part? What if it has used more than specified too much, and cant make a sacrifice to less than specified within the area it is studying? Will it check over that area again, using specified as much as possible?
It intrigues me...