fix checking of segment intersection no more rounding needed.