preprocess all spectra only when saving