<rect x="-32" y="-32" width="64" height="64" transform="translate(64,64)">

  <animateTransform
        attributeName="transform"
        type="scale" additive="sum"
        values="1 1; 1 1; 1.5 1.5; 1 1; 1 1; 0.5 0.5; 1 1"
        dur="4s" repeatCount="indefinite"/>

</rect>