Optimization phase almost ready.