no you do not need to resize it, you just have try it I did the same it was trying and error till I found the right lenght for the code
If you will not be able to figure it ot than you should use the dara.amarie guide for looping backround and resize the overlay exactly to the size dara has in her template