Add shifting implementation in benchmarks