Yes, the script it's taking care of uv's outside the 0-1 space and also it duplicates the selection if there are tillable uv's(uv shells that starts on 0-1 and finish on 1-1 for example) At a first glance I've reed out the uv's data also, but then I had the problem with the uv borders as well so I've realized that it's…