Bureaucracy is the answer to your question
Answer:
The three-fifths compromise was a big component of the Connecticut Compromise. Since the compromise said that representation in the House of Representatives was to be based on population, the “value” of a slave had to be defined. In particular, smaller states did not think larger states with more slaves should be allowed to consider slaves as part of their population. A compromise was reached: a slave would count as three-fifths of a person when counting population for representation.
Both Europe and Japan had a "cast system" you could say, where peasants worked the land that the nobles owned. (The Japanese had their own terms for the people, I just can't remember them.) During this time, Europe had knights and these Knights had a code called Chivalry. Over in Japan, there were Samurai with a very similar code which was called Bushido. Hope this helps.
People supported the segregation by saying black children are not as smart, dangerous and just by being discriminatory towards them