Spectral curve shape matching with a continuum removed CCSM algorithm