added saving of stepped generations