merging of the map