-optimise saving     (make sure a step is saved immediately upon entering the saving period)
some stupid mistake...