Version that does squares.