inline of shift functions and removal of unnecessay ? 1:0 bit select
code.