You need to make sure that the data structure, containing your lower points and the one containing your upper points have the same structure. If you’re initial points are for instance in a flat list, and your intersection points in a tree, you need to graft the initial ones so that the Line component knows that it has to match point for point, and not each initial point with all the other intersection points.
Uploading a file would have been nice! It makes helping much easier and you usually get an answer faster. Please check this out: