Simplify optimized memories.