made colision check more effision