code: @Override
      public void setScale(IChemModel chemModel) {
          double bondLength = AverageBondLengthCalculator.calculateAverageBondLength(chemModel);
          double scale = this.calculateScaleForBondLength(bondLength);
  
          // store the scale so that other components can access it
          this.rendererModel.getParameter(Scale.class).setValue(scale);
      }
docs: Set the scale for an IChemModel. It calculates the average bond length of
  the model and calculates the multiplication factor to transform this
  to the bond length that is set in the RendererModel.
  
  @param chemModel