Tuned the collision detection