Modified SpatialIndex based on a memory leak in GeoTrellis Transit