Limits the output by the length of advent.