add Floyd to calculate diameter.
add multiple hop cutting link tolerance.
change to KxHop