spikeGen now takes durations instead of change times