exported border_from_grid_points