<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_constant_state(self):
 """Read state that was written in "first_part" mode. Returns: a structure """

    ret = self.constant_states[self.next_constant_state]
    self.next_constant_state += 1
    return ret