code: protected int computeBucket(K key, K minKey) {
          return 1 + Math.min(msd(key, minKey), buckets.length - 2);
      }
docs: Compute the bucket of a key based on a minimum key.
  
  @param key
  the key
  @param minKey
  the minimum key
  @return the bucket where the key should go