Rebuild the collision detection.