added hex2bn