simplify next_power