Refactored code to use LineSegment operator -+- again