You must set the parameter to 2. I agree, "to" is the correct preposition. Prepositions are very hard and don't have many rules that make one a good choice in one situation but a bad choice in another.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.