Ensure that collection cannot become too big