Further refinements to collision detection