add size optimization for release