How to do a random interval linear array in grasshopper

I am new to grasshopper and I am wondering how to do a linear array with changing intervals. As shown in the pic, right now I can only do it with a fixed interval.
I draw a sketch to show what I want to represent

Make a random series of numbers, add them with mass addition, use the mass additions partial results output as move values.

1 Like

it is working, thanks a lot Michael