Renamed spectrumSize to width