Hi,
Thanks for the question but I'm afraid Rokas is right. Each row is calculated independently and is therefore unaware of the segments above or below it. I find it's helpful to think of an A2S generator as a stack of individual L1S generators. This kind of task would suit a packing or subdivision algorithm rather than an array based generator.
Cheers,
Paul