for (NetworkNode node = sm.getRootNode(); node != sink; node = ((LeftTupleSource)node).getSinkPropagator().getFirstLeftTupleSink() ) {
//update the bit to the correct node position.
bit = bit << 1;
}
LeftTupleSets trgLeftTuples = new LeftTupleSetsImpl();
doPropagateChildLeftTuples(null, tm, sink, wm,
null, trgLeftTuples, sm.getStagedLeftTuples());
RuleNetworkEvaluator rne = new RuleNetworkEvaluator();
LinkedList<StackEntry> outerStack = new LinkedList<StackEntry>();