bn-sqrt Integer squareroot implemented for BigNumbers (bn.js) use bit-shift operations. Based on code from: https://en.wikipedia.org/wiki/Integer_square_root