applied to all squares