Added MB_LEN_MAX