presto-main/src/main/java/io/prestosql/operator/aggregation/histogram/GroupedTypedHistogram.java/GroupedTypedHistogram/resizeTableIfNecessary
class GroupedTypedHistogram:    private void resizeTableIfNecessary()
    {
        if (nextNodePointer >= maxFill) {
            rehash();
        }
    }