docs: public GraphHopperStorage build() {
          Directory dir = mmap ?
                  new MMapDirectory(location) :
                  new RAMDirectory(location, store);
  
          GraphExtension graphExtension = encodingManager.needsTurnCostsSupport() ?
                  new TurnCostExtension() :
                  new TurnCostExtension.NoOpExtension();
  
          return singleCHWeighting == null ?
                  new GraphHopperStorage(dir, encodingManager, elevation, graphExtension) :
                  edgeBasedCH ?
                          new GraphHopperStorage(Collections.<Weighting>emptyList(), Arrays.asList(singleCHWeighting), dir, encodingManager, elevation, graphExtension) :
                          new GraphHopperStorage(Arrays.asList(singleCHWeighting), Collections.<Weighting>emptyList(), dir, encodingManager, elevation, graphExtension);
      }