this is code that can double resolution. you will want to change area that gets numbers from main memory. the output of a higher resolution cell is float temp=DoubleResolutionValue(x, y) and result is stored in temp. it is cached and manages hit and miss as well