association of lines with region acc to centroid
The decision to which region a line should be associated should be dependend on the first region in which the centroid of the is. Not the first region any point of the line is in.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information