Squares with an abstract pattern