let xIndMax = Math.floor(
        (atoms[i].coord.x - this._vBoxMin.x + rad) * numCells * xScale
      )