Rancher's Area

Suppose you want to build a number of rectangular pens, each sharing a side. What size rectangle will give your animals the most area for the amount of fence you have? If there's just 1 pen, you may know that the most efficient rectangle is a square. But what if there are more?