configs: enable -O3 optimization