fixed max string length for fast decoding