Moved SpatialSort to size_t.
Moved Subdivision's maptbl to size_t.