Random sobol cell 3d- how does it work?

Hello everyone,
is there someone on this forum that can explain to me how Random sobol cell 3d works?
I have found an example on how to use it, in some japanese 4.17 overview (attached photo) and i know that multiplication at return value of random sobol regulates overall size of the structure. But i don’t understand how the forloops work. I was messing with the numbers but couldn’t get any satisfactory results.
Can i change the number of cells? The height of structure in cells? Does it have to have the pyramid form?

Any help would be appreciated.

Kavaar