SPADE. To evade large iterations: minimun number of repetitions of sequences.  Bound the number of iterations. And not find sequence patterns farther than some steps.