ported tb_checkerboard_1