Use correct method and mask to set blocks.