Iterations of a family of varieties