Uneven boxes on the sloped surface to make stair

Sub division WIP.gh (52.7 KB)

I need help to create Uneven boxes on the slopped surface to make stairs here are two examples where I tried to make the stair and other uneven boxes but I don’t know how to make these uneven boxes on the slop,like a stair in the pic, not to morph