set limit of message size