Set required number of the lines with the bricks.