works with Microsoft.Scripting.Math version of BigInteger