supported the repeat painting a block.