Automatic Scaling Iterative Computations