main: did escaping of optimizing loop right. set optimizeMaxLoops to 0 and it won't optimize