BUG: cartesian grids also work with integers