1. Fix of a previous commmit. Wrong prediction time.
what if stopAtIter is not defined? (most cases perhaps)