An improvement to the grid view initialisation

An improvement to the grid view initialisation