increase n to 10,000