Optimized ENC memory