Get rid of useless loops on primary and sdigits (Gustavo)

No match.