Put the amount you want the size to be. (The limit is 3) See how it fills the square. Sorry for the bad thumbnail, it didn't change.
While I was praying, I got a litteral idea of the whole code and made it afterwards. Remember, I'll make another one that fills any shape, this time, with straight lines!