A Predictive Technique for the Real-Time Trajectory Scaling under High-Order Constraints