Adding more memory for optimization