code: private void finalizeCEs() {
          CollationDataBuilder newBuilder = new CollationDataBuilder();
          newBuilder.initForTailoring(baseData);
          CEFinalizer finalizer = new CEFinalizer(nodes.getBuffer());
          newBuilder.copyFrom(dataBuilder, finalizer);
          dataBuilder = newBuilder;
      }
docs: Replaces temporary CEs with the final CEs they point to.