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