Merging pieces