Add full caching to power law for speed testing.