Spatial hash