generate bricks