Sample restriction and distribution.