Low level collision detection