This effect was generated in Filter Forge, a Photoshop plugin that allows you to create your own filters.
Recently I found it easier with a filter to apply an effect to the entire photo and then undo sections rather then build it progressivly in steps
This filter illustrates how to apply an offset to an entire photo's area then undo select areas
effect regression snippet undo