Fraction struct refactoring