brutal optimizations in release mode