remove float comparison where Fraction better