smoothen the rendering