simplify sample distribution.