changed call for global optimization in stptw