moved latency to dispatch method and improved AvgDHCardinality test. including small data set