implement peak_index_type on msassignedmass in order to handle multi-segmented massspectrum