A circle is inscribed in a square as shown. If the radius of the circle is 4 cm, then the perimeter of the square is _____ .