this.betaNode = betaNode;
this.sinkNode = sinkNode;
this.bm = bm;
this.wm = wm;
this.leftTuples = new LeftTupleSetsImpl();
this.rightRuples = new SynchronizedRightTupleSets(bm);
this.preStagedBuilders = new ArrayList<StagedBuilder>();
this.postStagedBuilders = new ArrayList<StagedBuilder>();
this.bm.setStagedRightTuples(rightRuples);
this.leftMemory = new ArrayList<LeftTuple>();