Pre-treatment of the layers