statistics output added, (edge lenghts)
some statistics added