Setting the number of data passes