Statistical mechanical model of boron coordination