I believe the OP was suggesting that externally-imposed boundaries can hold areas in an unstable state for long periods of time, but when they are gone there is unrest that takes time to achieve a stable society and that scientific progress is best achieved when people arent worried aobut their food/safety/corrupt warlord.
That isn't directly related to "scientific development", but that, like most things, relies on economic and political stability.
For example, some people have pointed out when European colonialists set borders, they were more concerned with natural resources and the opinions of competing colonial powers than with what the locals thought of the borders.
Some people go further, thinking in at least some instances colonial governments intentionally created the situations for internal strife, as doing so could make regions easier to control. Set the borders so that area is 75% Religion A, 25% Religion B then you can appoint powerful local deputies from Religion B. Your powerful deputies will never support a popular revolution, as it'd make them lose all their power.
Later the colonial power leaves, but the borders stay in the same place - along with a generous helping of resentment and fear between the groups - and the stage is set for internal strife, political blocs formed along ethnic lines, and so on.
And if European colonists produced messed up borders, why couldn't Ottoman colonists have caused the same effects?
That doesn't mean ethnic diversity causes the problem - but there are several elements that set the scene for problems, and ethnic voting blocs are an easily measured component, though not sufficient on their own.
It’s not just a colonialism thing either; in Europe wars often resulted in territorial change; the territory was then the cause of the next war.
South Korea is the successful planned economy, like Singapore; on paper it's an open economy, and people are free to start businesses, but the top level is heavily coordinated between the government and megacorps. It was a military dictatorship for years while growing at over 5% a year. https://en.m.wikipedia.org/wiki/Park_Chung-hee