fixed the support to switch off the shortest path based calculations