change memory computation