Split size and repaint