make buffer size a power of 2 and optimize buffer lookup

Yields 10-25% faster aggregations for timeseries queries, depending on the number of aggregators.
There is nothing specific to older or newer segments. All segments have `sizePer` written as part of the column header, so any segment can still be loaded.