just pick a random number that's longer than the last
like for example
10 can go to 100 or 0.1, but 100000 can't go to 1e8 or 0.4 or anything
oh yeah and to prevent the 16384 character thing it should probably be MODERATELY higher like 5 or 6 or 75 characters