PathCache: track maximum size + double capacity