Made tail collision check more precise