presto-geospatial/src/main/java/io/prestosql/plugin/geospatial/aggregation/GeometryStateFactory.java/GroupedGeometryState/ensureCapacity
class GroupedGeometryState:        @Override
        public void ensureCapacity(long size)
        {
            geometries.ensureCapacity(size);
        }