No need to iterate over the interval of a record since we know
the value of the metric will be the same. O(n^2) -> O(n).