Modified TEM cell design using mixed simulated annealing-deterministic optimization