added: enable -O3 to lower cpu usage
added: -march=native for further optimizations