added param 0 as scale param to bcmodpow for some bug reason. avoid
returning float packages and Formatted the code.