Refactore the max finders for cache key