Comparison of the Working Sets and Bounded Locality Intervals of a Program