Same here, should use nextpow2.