iterative improvement via transformations in metropolis sampling