This is not used anyway. There are features like smooth movement which remove all redundant points. Use single findStraightPath call instead of multiple.