Clear unnedded refinement