Almost collision detection