distribute $value among $parts