Determine size of field automatically