Getting rid of maximum loop when mergin same country values.