presto-spi/src/main/java/io/prestosql/spi/block/MapBlockBuilder.java/MapBlockBuilder/ensureHashTableSize
class MapBlockBuilder:    private void ensureHashTableSize()
    {
        int[] rawHashTables = hashTables.get();
        if (rawHashTables.length < offsets[positionCount] * HASH_MULTIPLIER) {
            int newSize = calculateNewArraySize(offsets[positionCount] * HASH_MULTIPLIER);
            hashTables.growHashTables(newSize);
        }
    }