[INTERNAL,TEST] number of missing data points now variable, spacing_difference now defines maximal allowed difference