Switch for c++11

After switch memory too big. Fix it please.