I want to know how many consecutive i.i.d. RVs with: $$X_{i} \sim\text{Uniform}(L, H)$$ can be added until the sum of them is greater than or equal to a certain value ($r$). I'm calculating this for a resource management algorithm and I want my algorithm to be based on accurate statistics and I want to avoid any guesses or meaningless intuitions.
*: I've found a similar question where the question is about summing up uniform RVs with range $[0, 1]$ and for the $r = 1$. But I stress that I'm asking a more general question and if we set $L = 0$, $H = 1$ and $r = 1$, we'd get the same answer as that question.