Planning as an Iterative Process