reduce memory size.