optimize method

void optimize()

Implementation

void optimize() {
  _tryMergeRecursive(_rootNode);
}