Faster Base36 by use of a stack instead of a StringBuilder.