Added power of 3 function as envelop