Memory corruption fixed.
in bignum.c:207 free external variables