discretize aliasSampler