modify cachearray to have the ability of retrieving cacheline given a hash