now calculating heart_spikes