add -O3 to make. revert some changes that created a regression