Sorry, I don`t have time to elaborate but here is the scene file.
I just nested L1S with X Size equal to Xspline Lenght of A2S.
Second, I have overridden the Y size for Default and Start/End to the Yspline Lenght of A2S to reduce the number of segments on the Y axis.