Randomize buried duration between a range

Did quiet some digging and this is what I came up with together with its challenges. If you can, I’d appreciate your insight. Thank you.