fix the groupation of stations