Replace part.GetHashCode()

with part.GetInstanceID(), per Apoapsis-A feedback