Merging graphes with HM2