Optimization. Here's MdlVis. Click the Optimization tab in the top left, you see three buttons, Click Optimizer, Check all Actions(Do not check the last one, I don't know what is it really) and then click Optimize. After that save it.
Note:MdlVis can also be used in many things. Check this tutorial.