The optimization of the inverted occulter of the solar orbiter/METIS coronagraph/spectrometer