Subsequently, the cleavage assignments are revised in order to avoid too small fragments in the final fragment library. For each fragment with less than three atoms the neighboring fragments are checked. If all neighboring fragments are assigned to the same subpocket, nothing needs to be done, because by default they will be merged in the next step. If the subpockets of the neighboring fragments differ, the current small fragment is assigned to the subpocket of the largest neighboring fragment. This procedure is repeated until all fragments with less than three atoms are reassigned.