Memoize digit object creation.