Controlling the contact levels of details for fast and precise haptic collision detection