A wire is cut into 3 equal parts. the resulting segments are then cut into 4, 6, and 8 equal parts, respectively. If each of the resulting segments has an integer length, what is the minimum length of the wire?