fixes bug in distance of condensed distance
full data FTW