Cut sections of roadway or rail are areas where the roadway has a lower elevation than the surrounding terrain. Fill sections are elevated sections of a roadway or trackbed. Cut and fill takes material from cut excavations and uses this to make fill sections. It costs resources to excavate material, relocate it, and to compact and otherwise prepare the filled sections. The technique aims to minimise the effort of relocating excavated material while also taking into account other constraints such as maintaining a specified grade over the route.