Restructured Optimizer