optimization for release builds