make line line distance constraint work with parallel lines