New PyroMod optimization