For practical purposes, terminal monomers types are treated as distinct from their middle-monomer counterparts, both to preserve atom-resolution structure matching and to enable residue-wise charge aggregation. To ensure overall neutral molecular charge in the subsequent transfer step, an additional stipulation made is that each set of monomer library charges must be is net neutral; this is achieved by redistributing any excess net charge equally amongst all atoms in the residue.