Indirect distribution uniformity check added.