tuned the line width threshold
fix svg point drawing
plot point order
fixed neareset path sorting