Knuth-iterative