added bottom up running sum as a rating function for shultze rated orders