WIP
fix for issue with line-line intersection