smem = smems[++smemIndex]; // 1
node = smem.getRootNode();
nodeMem = smem.getNodeMemories().getFirst();
} else {
// lia is in shared segment, so point to next node
LeftTupleSinkPropagator sink = liaNode.getSinkPropagator();
LeftTupleSinkNode firstSink = (LeftTupleSinkNode) sink.getFirstLeftTupleSink() ;
LeftTupleSinkNode secondSink = firstSink.getNextLeftTupleSinkNode();
if ( sink.size() == 2 ) {
// As we check above for segment splits, if the sink size is 2, it must be a subnetwork.
// Always take the non riaNode path
node = secondSink;
} else {
node = firstSink;