Setting grid height.