dramatic speed-up in collision detection