simulated annealing spike