optimized the deployment traject