where S is the overlap, h κ/λ are atomic energy levels, and K is a non-linear function based on the interatomic distance parameterized for each element and angular momentum. The levels are made dependent on the local environment by a smooth counting function for coordinating atoms around each atomic site. The expression in Eq. 5 is central for the xTB methods, as it contains about half of the model parameters.