bug fix in replaceByClumps, that could lead to set negative masses on bodies and shorten the code