As X3 represents a continuous variable in my model, I will use the second method.
Thank you for your help.
Maxime.