Erosion could change the course of the Bug river, which marks the border between Poland and Belarus.