A method of modifying a finite state machine (FSM) wherein the FSM is
accessed by a plurality of entries, with each entry comprised of a
substring and a next-state pointer, and the FSM is modified so that each
entry comprises a length, which is less than or equal to a maximum size
boundary placed on a memory device configured for storing the FSM.