Fixed missing assignment of number of rounds.