Conciseness nitpick.

Instead of setting the upperLength variable twice, just set it once.