Gradually increase distances between elements in Z direction?

Hi guys.

I have a brick wall as you can see in the attached files. My goal is increase the distance between gaps in each row of bricks. So let’s say that I want more distance between gaps in the bottom and i want reduce the distance at the top of the wall, but the this distance gap difference should be gradually. Do you have any idea how to do it?! Thanks!

Spacing Bricks.3dm (65.0 KB)
Prueba X.3dm (131.0 KB)

Is this in any way different from the other discussion you posted 2 hours ago with the same title?
I’m looking at that one now. Is it still relevant?