Generate random value with a distance between them

you can't predict how many times you'll have to call it.

Why should that matter?