added cdfs for max hops