use min entropy, not max
use xrange to skip first null-split