remove bigfloat dependence from rationalize