bn: support different radixes
0.14.0