code: private boolean checkDimensions(CLIQUEUnit other, int e) {
      for(int i = 0, j = 0; i < e; i++, j += 2) {
        if(dims[i] != other.dims[i] || bounds[j] != other.bounds[j] || bounds[j + 1] != bounds[j + 1]) {
          return false;
        }
      }
      return true;
    }
docs: Check that the first e dimensions agree.
  
  @param other Other unit
  @param e Number of dimensions to check
  @return {@code true} if the first e dimensions are the same (index and
  bounds)