Make collision detection slightly faster