add advanced compilation setting, optimize by avoiding rand-int, set
to ~24fps