Implementing Simulated Annealing splitter