I for one have only a vague idea what your post means.
Please try to simplify and clarify this description.
Are the balls identical or distinct?
Take this example: there are two balls in box 1, one ball in box 4 and one ball in box 10. (10 boxes in all).
What happens if
1) balls are identical
2) balls are distinct?