optimized ChunkSpatialBuilder by removing redundant calculations