make bigInt work in bin() and hex() functions