digest can only run 10 times in the row