set first structure of the Optimizer class refs #2543