Why did you use a curve?

I’m not sure I understand the logic of taking a curve and turning it into a rectangle when you could have just made a rectangle. Was there a particular reason you chose to do it this way?