Clean up vary_pams in measurement iteration. Now supports resuming even when previous ranges were randomly generated. This was achieved by using the old values in ranges_eval, rather than forcing a comparison with the new values.