fixing scoopedDataToLines line's index
WIP curved lines; fixing ortho edges detection