Also remove pre-caching when setting algorithm