SpatialGrids are hell

no idea if this works