combine the dict
optimize the inside part
merge