Memory optimize

sorry, it was my fault. I have added to the post. thank you