1. A method of operating a memory, comprising: creating a histogram of sensed data of the memory; filtering the histogram; adjusting a parameter used to resense the memory using the filtered histogram; and determining local minimums in a search region of the filtered histogram, wherein the local minimums include a lowest local minimum and a highest local minimum, wherein adjusting a parameter used to resense the memory comprises adjusting the parameter using an average of the lowest local minimum and the highest local minimum.