addNodeWayMapReverse(lastOnewayNode(m), i);
addWayNodeMapReverse(firstOnewayNode(m), i);
addRemainingForward(firstOnewayNode(m), i);
addRemainingForward(lastOnewayNode(m), i);
} else {
addPair(w.firstNode(), i);
addPair(w.lastNode(), i);
}
}
remaining.addAll(map.ways.keySet());