The optimization of the inverted occulter of the Solar Orbiter/METIS coronagraph/spectrometer