Added max byte length check to string constraint