Moving pow evaluation to const