1D trajectory generation general case, strange for random combinations of tensions/constraints