Adjusting the clearances between rotary and stationary parts