add ability to compute cartesian paths