Changed release optimization level from -O3 to -O2