Replaced std::pow with shift

Clang doesn't like int as a first argument of std::pow