support RE_BOUND_MEM

only cache RE_CACHE_SIZE (default 32) DFA states