Modify change loop structure

I had an wrong idea.
Propagation and Randomsearch must be interleaved at the patch level.