Rule is so simple. Just write all the squares with one stroke. You can not stop it once you start doing this.