Optimize merging large message