assume cache objects are of unit size