Correct calculation and diagnostic drawing of internal mitre intersections for east border