memory efficiency in spectra makers