1. The midpoints of adjacent sides of a rectangle with a perimeter of 32 were connected by segments. The same operation was performed on the resulting quadrilateral: the midpoints of adjacent sides were connected by segments (see figure). How many times in total does one need to perform such an operation so that the perimeter of the resulting quadrilateral first becomes less than 1?