store states if store_states is set in Odeoptions