Hack to avoid over-allocation of Rational objects.