Use your smart phone to register in advance online, at the link provided above. The wait at the office will be nil.
Oh, and BTW, many folks have told me that the "queue" moves so fast that one should use the toilet FIRST, so you do not lose your place in line. Even on very heavy arrival days, the line is rarely more than 30 minutes long - ever.
Hope this helps.
Tom