added more size checking in isProbablePointer