Optimizer: fractions reduction fix