generate distributed weight