Add cache item size contraints.