eliminate unsafe buffer in recursion, sizing it off dfa->longest