in preparation for paramatrising digits-that-are-nice, compute the boundaries between one number and the next