Made vertical collisions more efficient.