docs: public void remove(final long rangeStart, final long rangeEnd) {
      rangeSanityCheck(rangeStart, rangeEnd);
      if (rangeStart >= rangeEnd) {
        return; // empty range
      }
      final int hbStart = BufferUtil.toIntUnsigned(BufferUtil.highbits(rangeStart));
      final int lbStart = BufferUtil.toIntUnsigned(BufferUtil.lowbits(rangeStart));
      final int hbLast = BufferUtil.toIntUnsigned(BufferUtil.highbits(rangeEnd - 1));
      final int lbLast = BufferUtil.toIntUnsigned(BufferUtil.lowbits(rangeEnd - 1));
      if (hbStart == hbLast) {
        final int i = highLowContainer.getIndex((short) hbStart);
        if (i < 0) {
          return;
        }
        final MappeableContainer c =
            highLowContainer.getContainerAtIndex(i).iremove(lbStart, lbLast + 1);
        if (!c.isEmpty()) {
          ((MutableRoaringArray) highLowContainer).setContainerAtIndex(i, c);
        } else {
          ((MutableRoaringArray) highLowContainer).removeAtIndex(i);
        }
        return;
      }
      int ifirst = highLowContainer.getIndex((short) hbStart);
      int ilast = highLowContainer.getIndex((short) hbLast);
      if (ifirst >= 0) {
        if (lbStart != 0) {
          final MappeableContainer c = highLowContainer.getContainerAtIndex(ifirst).iremove(lbStart,
              BufferUtil.maxLowBitAsInteger() + 1);
          if (!c.isEmpty()) {
            ((MutableRoaringArray) highLowContainer).setContainerAtIndex(ifirst, c);
            ifirst++;
          }
        }
      } else {
        ifirst = -ifirst - 1;
      }
      if (ilast >= 0) {
        if (lbLast != BufferUtil.maxLowBitAsInteger()) {
          final MappeableContainer c =
              highLowContainer.getContainerAtIndex(ilast).iremove(0, lbLast + 1);
          if (!c.isEmpty()) {
            ((MutableRoaringArray) highLowContainer).setContainerAtIndex(ilast, c);
          } else {
            ilast++;
          }
        } else {
          ilast++;
        }
      } else {
        ilast = -ilast - 1;
      }
      ((MutableRoaringArray) highLowContainer).removeIndexRange(ifirst, ilast);
    }