fix the TRE_CHAR_MAX fix
Merge branch '01-cleanup' into 04-vec-enlarge