trying to improve speed for getting 2nd mca spectra