final DataflowProcessor owner = getOwningProcessor();
final BigInteger a = (BigInteger) arguments[0];
final BigInteger b = (BigInteger) arguments[1];
counter++;
final BigInteger sum = a.add(b);
owner.bindOutput(1, sum);
owner.bindOutput(2, sum);
if (counter == 1000000L) {
owner.bindOutput(0, sum);
owner.terminateAfterNextRun();
}