trickle: replace call to pow (base of 2) LOL