Use getAtomRanges(...) function in NBNXM more