Entropy for different amount of memory