Add computeIteration code
Merge result