Hi Hans,
Thank you for the code that is cleaner and certainly less long !

Fabrice

PS : What do you mean by :
define 'improve' .. anyway:

A step of 0.001 is not needed here and gives a pretty large path.