Remove hex2long function