ported full old-BATB into IterationRunOld