calculating download speed