function addLowestDistance(words, verbosity, item, suggestion, int, deletedItem) {
  var first = item.suggestions.values().next().value;

  if (verbosity < 2 &&
      item.suggestions.size > 0 &&
      words[first].length - deletedItem.length > suggestion.length - deletedItem.length) {
    item.suggestions = new Set();
    item.count = 0;
  }

  if (verbosity === 2 ||
      !item.suggestions.size ||
      words[first].length - deletedItem.length >= suggestion.length - deletedItem.length) {
    item.suggestions.add(int);
  }
}
Function used to conditionally add suggestions.

@param {array}  words       - Words list.
@param {number} verbosity   - Verbosity level.
@param {object} item        - The target item.
@param {string} suggestion  - The target suggestion.
@param {number} int         - Integer key of the word.
@param {object} deletedItem - Considered deleted item.
@param {SymSpell}