rewrote the grid_reader in order to be able to cut it at certain slices