Yup, this is the problem, there is no distinctions between shapes because this is a single polyline (as on the image, shapes are connected and it distords the original image).
This is what I tried on my first post, how could you have done it ?
Thank !
Cyril