Compute the sample size correctly by using log2 when needed.
Compute the sample size correctly by using log2 when needed.

While here, const'ify a constant.

fmaschler/networkit,fmaschler/networkit,fmaschler/networkit,fmaschler/networkit,fmaschler/networkit,fmaschler/networkit