splitLine: Added handling of distance constraint.