Allocated arrays for cache