Optimize EdWay.connectTouchingNodes()
LPIS: fix PriorityQueue initialization