reduce memory out of range