fixed addition/subtraction which sometimes didn't reduce the fraction