Converts i into a row state value.