corrected evaluateBCME, preliminary detectSpectral