Finished findMinValue