add correct calculation of the intersection circle/ adjacent lines