Set a max number of entries for the donut (re #24)