code: private void addSolutionSet(List<S> solutionList) {
      //Calculate the location of all individuals and update the grid
      mostPopulatedHypercube = 0;
      int location;
  
      for (int ind = 0; ind < solutionList.size(); ind++) {
        location = location(solutionList.get(ind));
        hypercubes[location]++;
        if (hypercubes[location] > hypercubes[mostPopulatedHypercube]) {
          mostPopulatedHypercube = location;
        }
      }
  
      //The grid has been updated, so also update ocuppied's hypercubes
      calculateOccupied();
    }
docs: Updates the grid adding solutions contained in a specific
  <code>solutionList</code>.
  <b>REQUIRE</b> The grid limits must have been previously calculated.
  
  @param solutionList The <code>solutionList</code> considered.