more efficient empty collision detection