add -O3 option to the compiler
update debug prints