Because the square has 4 sides. Admittedly, this is a modification to my battle plan, rather than the original.
So, you have 2,500 levees per 20 km side, for 10,000 on the perimeter. Better to have closer to 20-30k for this. So you have 5,000 per side for 20,000 on the perimeter, and then maybe...