Farmer Alex has $8$ llamas each of whom needs $1000000$ square feet of grazing area. He wants to enclose a rectangular pen along a straight river, where he does not need fence. What is the minimum amount of fencing he must use to build his pen?