enable optimization; set debug=false