@property
def last_step(self):
    if (len(self.intermediate_values) == 0):
        return None
    else:
        return max(self.intermediate_values.keys())
@property
def last_step(self):
    if (len(self.intermediate_values) == 0):
        return None
    else:
        return max(self.intermediate_values.keys())