private static int segmentSlotIndex(int hash,
                                      int hashSuffixDepth) {
    int segmentMask = suffixMask(hashSuffixDepth);
    return hash & segmentMask;
  }
private static int segmentSlotIndex(int hash,
                                      int hashSuffixDepth)