Metastable transitions in mass spectra of hydrocarbons