I wanna apply first-fit to many requests(pair of nodes) in a graph, but first I need to split the links of the graph into sections( for example 100 sections) and after that,