new fun: getOptPathX