Perfect! Thanks a lot. This is exactly what I need (with this solution 200K loops take less than 1 sec).
Ciao
Attilio