code: function(collection, key, ip) {
      if (!collection) {
          collection = {};
      }
  
      if (!collection[key]) {
          collection[key] = [];
      }
  
      collection[key].push(ip);
  }
docs: Finds the appropriate block or
  bucket for the given IP to be
  inserted in. Another way
  @param key
  @param ip