if (nodeId.compareTo(localId) > 0)
{
merger.writeElement(localId, 1L, mergeTotal, true);
localWritten = true;
}
else if (i < toMerge.size() && nodeId.compareTo(toMerge.get(i)) == 0)
{
long count = state.getCount();
removedTotal += count;
merger.writeElement(nodeId, -now - state.getClock(), -count, true);
++i;