rescale fractions according to a chart