Process specially adapted to improve the resolution of the mask