complete AbsDistinct2