A procedure to decompose high resolution mass spectra