On the Range Maximum-Sum Segment Query Problem