added subgrid, added virtual default constructor to grid_base