1) fix bug with rounding negative real number in intersection line function