Inverted pyramid steps either with or without Grasshopper?

I am trying to create stairs in a 50’x50’ space similar to the ones in the image, but instead of meeting up where they do in the one corner, I want steps to be more like the ones in the second image.

The problem is that I cannot figure out how to combine stairs which start and end with the stairs being parallel to the buildings on each side.

It is possible that I just cannot get myself to see the stairs in my mind and figure a solution for it.

Any help is greatly appreciated. The script I am using has been attached.

What I have:

What I have

What I want:

stairs2.gh (6.8 KB)

Not sure why I did not think about this before (except that it was around 4:30 AM - 5:00 AM:

I ran the GH code twice on lines which were perpendicular to each and then combined the results by snapping them into place at the upper right corner of my intended location.

I provide an image to show the final.