acceleration of repaint