Rescale distance in log likelihood, like in main loop