Don't allow BIGNUMs to become so large that computations with dmax