snippet: make sure that iters stay valid.