cache generated matrix rows of huge numbers in global data storage