The iterative approach often leads to inefficient solutions.
I think you need to tell us what you *ultimately* want to do
and let us try to help you get there.