Triangle minimum sum