Add cpu for trajectories