Moved framework to O4 optimization level