speed up alias table for uniform

This tweaks the construction algorithm of alias table by removing an unnecessary step: considerable speed increase when the distribution is uniform (probably no change in other cases).