Add new library: init_grid