simulated annealing coming together