Use Precache decorator for default algorithm