added new c extension to fill gaps in spectra