Unsafe shifts

Added unsafeshifts for small but noticeable speed boost. Determined that
toU64 is slower than unsafeShifts.