update helper to cover full range of possible ids

ThreadLocalRandom#nextInt is exclusive of the specified value