how to calculate network bandwidth