Improvement of the memory backend