Optimize backoff factor calculation
Optimize backoff factor calculation

By favoring Bitwise.bsl over :math.pow for powers of 2 we make it faster and
avoid the need to truncate it afterwards.

monterail/tesla,teamon/tesla