butterfly method comparing fractions