Bug: the globalCellIdx has no unit - it is an integer!