checkpowerof2