Optimize deployment