Squares and neighborhoods