Match merging