Modify messages to have no margin in case of having many messages.