changed ContractionGraph renamed merged to mergedTo