avoid duplicated particles into a rank.

this can easily happen in periodic boundary and COMM.size == 1.