Check distance in z-axis before actual distance in extrapolate bonds.
Check distance in z-axis before actual distance in extrapolate bonds.

The distance in z-axis should be checked prior to distance calculation so that we don't need to calculate actual distance if z-axis distance is larger than the max bonding distance.

kbsezginel/lammps-data-file