debugged shortDist

does not include itself to calculate the maxDist anymore