Added checkerboard generation support.