bignumseti(bn, 0) instead of bignumclear(bn)