some checking for when there are too few spikes