conv_to_hex: +pdep version