presto-main/src/main/java/io/prestosql/operator/aggregation/multimapagg/LegacyGroupedMultimapAggregationState.java/LegacyGroupedMultimapAggregationState/ensureCapacity
class LegacyGroupedMultimapAggregationState:    @Override
    public void ensureCapacity(long size)
    {
        keyBlockBuilders.ensureCapacity(size);
        valueBlockBuilders.ensureCapacity(size);
    }