If we remove a square of side 2 cm from each corner of a square frame of side 8 cm, then the perimeter of the resulting shape is .