smooth long trajectories