Calculate the minimum value from the first row to the row after the current row