If the distance between incenter and one of the excenter of an equilateral triangle is 4 units, then find the inradius of the triangle.