imporved hex string to bigint