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