divide and conquer of power problem
add some efficient compute code