Lazy construction of caches that are only needed for some of these reduces their footprint significantly.