\mu{_{ij}} = \begin{cases}
max(n{_{ij}} - {\lceil \frac{p{_i}(A)}{\lambda}\rceil}, {\lfloor \frac{p{_i}(A)}{\lambda}\rfloor} - n{_{ij}}), \ for \ i \in S{_1} \\
max(0, k-n{_{ij}}), \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ for \ i \in S{_2}
\end{cases}
μij={max(nij−⌈λpi(A)⌉,⌊λpi(A)⌋−nij), for i∈S1max(0,k−nij), for i∈S2