make bcBaseConvert gmp compatible