Original sentence: Following the trend of several other countries in the Americas, which encouraged immigration from many countries, Brazil quickly became a melting pot of races and nationalities, probably the second largest in the world after the USA, but being peculiar in the sense of having the highest degree of intermarriage in the world
Edited sentence: Following the trend of several other countries in the Americas, which encouraged immigration from many countries, Brazil quickly became a melting pot of races and nationalities, but being peculiar in the sense of having the highest degree of intermarriage in the world