lib: allow new BN(bn)
0.4.0