Restructured checkPreciseCollision