minimum and maximum length messages