added chrono and changed optimization options