Greatly increased the precision of the collision detection.