if (specialNodes.contains(node)) {
continue;
}
int localDistance = 0;
for (Node stationNode : specialNodes) {
localDistance += bfs.distanceFrom(stationNode, node);
}
if (localDistance < previousMinDistance) {
previousMinDistance = localDistance;
bestNodeSoFar = node;
}