Split up optimizations in order to compare optimized with unoptimized code