Inverse sample update and sample rescaling

If during a long time there is no update, the weight could be NaN if the
rescaling is done after the update, and locking the value in the sample.

When rescaling before, in that case, we invalidate all data as the weight
will set to 0