Added graph::longDist