A sequentially advancing algorithm based on multi-value dynamic programming for the cut-off grade optimization in open-pit metalliferous deposits