Choosing the closest measurement