MemoryHandler class to calculate statistics over the tiles' accesses