Both, when I use loops (that I generally find trawling the net) I usually beat slice and re-arrange.

It`s much more satisfying programming your own patterns