How is the number at which the data should stop decided?