Roughness measure and control