Use to calculate the cache mapping sizes