XY plane parameters for TSpectrum2 must be optimized