presto-geospatial/src/main/java/io/prestosql/plugin/geospatial/SpatialPartitioningStateFactory.java/GroupedSpatialPartitioningState/getEstimatedSize
class GroupedSpatialPartitioningState:        @Override
        public long getEstimatedSize()
        {
            return INSTANCE_SIZE + partitionCounts.sizeOf() + counts.sizeOf() + envelopes.sizeOf() + samples.sizeOf() + ENVELOPE_SIZE * (envelopeCount + samplesCount);
        }