cleaning up spatial