smallest string period