A graph-searching method for MLC leaf sequencing under constraints.