A circle of radius unity is inscribed in an isosceles triangle. The least perimeter of the triangle is