Changed optimalization flag when compiling in release mode form -O2 to -O3.