I am trying to make parametric random 1D grid with basic parameters like length, number of cells, minimal and maximal cell length. I managed to create a grid satisfying length and number of cells and got a list with actual coordinates of points on the 1 dimensional grid.

What I cant figure out how to implement two parameters for minimal and maximal cell length. I need a way to remap the list so that difference of every two followings values is within a condition for minimal or maximal cell length. It looks like iterative process. Do you have any idea how to get from this list a new list satisfying those conditions ? Thank you very much