faster collision detection