moved the insertion of the constant to the constant table from outside the if join, to the inside, further optimization required. worked for the case of
1/2
3/4
1/4

it recycled the 1 from the first fraction for the third