moving -Olocal-temps to -O4 until the issues are solved