fix engine bug with big datas, add -o3