Using -O3

I don't remember where but I'm pretty sure I read it was necessary to compile using optimisations.
I was doing some tests by myself and complaining about how slow it was, after adding the -O3, the speed multiplied by 4 and 5 depending on the computer.