Generating primitives from new trajectories.