refreshKeysForAllRanges now uses less RAM