updated output of maxdist.awk