Allocate just enough memory to store the largest spectrum.
Allocate just enough memory to store the largest spectrum.