add computation of cartesian path, optinally under constraints