Testing processing time of reg. iteration vs a smart iteration algorithm