A rancher wants to fence in an area of 1000000 square feet in a rectangular field and then divide it in half with a fence down the middle, parallel to one side.

What is the shortest length of fence that the rancher can use?

Length of fence = feet.