added distance to dump_netstats.py