Improving collision detection.