Entropy reweighting to create balanced samples
