add macro STR_LEN set to 16384, we might need it in the future.