Here is what I think you want to do, But I am not really sure that I undestood this one: "and then append the 3rd-6th elememts of the new loop to the first location and so on".
Any way see the attahtcment and tell me.
-----------------------------
Ayman Mohammad Metwally
Automation Engineer
Egypt - Cairo