Transitivity
Distances histogram, solved bug in transitivity