it is a change to the algorithm that I will check later on.Just a minor comment: in the code:Yeap, the code is a reduced version of the real one. actually the counter is not increased every time in the loop (cause of the dishonest update I noted in a previous post).Thanks for the ideas!