better handling of empty cells by using EmptyCell class (and testing nested grids)