@antoniowerli
I need to say this algo is somehow simple. There's not secret trick behind, it's just built on a simple idea, but a promising idea.
Also, the idea comes with extras and that needs a certain quantity of code work I'm not very familiar with and I have to improve. Anyway, I'll tell you when it will be finished.