cached.hpc: implementation of a cache-abled version of HPC