finish code to compute the cost of each speed for each type of cdf
finish code to compute the cost of each speed for each type of cdf

dropbox/rust-brotli,dropbox/rust-brotli,dropbox/rust-brotli,dropbox/rust-brotli,dropbox/rust-brotli