Fixed compiler warnings

* Using Int::pow