Sorry if the title is confusing, I hope my explanation will be more clearer. I also have a working method, but I hope it could be improved, particularly because there\'s a flaw.