Make the memory scanning more accurate