docs: public Bits toBits() {
      int peekBits = (int) Math.ceil(Math.log(max) / Math.log(2)) + 4;
      Bits startBits = Bits.divide(start, max, peekBits).padRight(peekBits);
      Bits endBits = Bits.divide(end(), max, peekBits).padRight(peekBits);
      for (int i = 0; i < peekBits; i++) {
        long a = startBits.range(0, i).toLong();
        long b = endBits.range(0, i).toLong();
        if (b - a > 1) {
          Bits bits = new Bits(a + 1, i);
          assert (Bits.ZERO.equals(bits.range(0, 1)));
          return bits.range(1);
        }
      }
      throw new RuntimeException();
    }