Utilize GetBits function with jumptable
formatting and comments in GetBits