Created SpatialGroup and changed SpatialJoin