Hi, there is a variant of SSA described by Zimmermann and Brent (http://www.loria.fr/~zimmerma/mca) whose running time increases more smoothly than this implementation, although time complexity is the same. It would require rewriting major parts of the code, though. Just an FYI for the record. Tim