Original Image -- parts_neg.gif:

After processing with -lat 25x25+10%

Notice the border at the top and left and the fact that the image is shifted.
I wrote my own script to do something similar and it does not shift the image. Using my script I get this

Here is an animation to show the effect:

This is not a high priority for me. But I just wanted to inform you of this deficiency.
The function would work fine, if it were not for the offset. It should handle unfolding as for example in -convolve or -blur to avoid the image shift.