Replace the shift_table[] by a simple macro.