added culculation of main properties for ring topology