How to align objects in grasshopper

I created a brick wall in grasshopper based on a L-shaped curve, in a typical brick wall pattern. The goal is that when you move, turn or change the L-curvebin Rhino, that the brickwall also changes. Every second line there is only half a brick as there doesn’t fit a whole brick. But this half-brick is not aligned with the full-brick in the line above and under. How can I align these end-bricks on every line so that they form a lign and not jagged edges, so that I can still change the parameters?


Share .gh file. (59.2 KB)
you still need to draw a L-curve and link it, as the rhino file is too big to post here

Please internalise the input curve.