add f_remainder to ssm_states_t