fixed unsigned long entropysel