randomized iterative improvement