Add frac_round code