cache blocking (commented out still) with a variable number of iterations inside the cache