maxCost should be <=