add first/ final superstep and the logic going through all supersteps.