Intelligent conveyor line selection to avoid the pit