Set comm-buf size to be same as max_msg size