private void MergeOtherRun(RLEBitset other, ref Run current, ref int nextThisIndex, ref int nextOtherIndex)
{
Run next = other.runArray[nextOtherIndex];
nextOtherIndex++;
if (!Merge(ref current, ref next, true, nextThisIndex - 1))
{
//no merge, so a new interval has been inserted
nextThisIndex++;
}
}