Add digits size compare

Quicker to check the size before iterating through the lists.