docs: function getLevel(base, index) {
    var level = (0, _bigInteger2.default)('0');
    var current = index;
    var parent = void 0;
    while (current.gt(zero)) {
      parent = current.prev().divide(base);
      level = level.next();
      current = parent;
    }
  
    return level;
  }