actually according to the definition of entropy it should be `log` and not `log2`