presto-main/src/main/java/io/prestosql/operator/aggregation/state/MinMaxNStateFactory.java/MinMaxNStateFactory/ensureCapacity
class MinMaxNStateFactory:        @Override
        public void ensureCapacity(long size)
        {
            heaps.ensureCapacity(size);
        }