SpatialManager: use unsigned int