Checker pattern inversion