The fractal structure of data reference :applications to the memory hierarchy