Where does “межи” come from?

межи (Ukrainian) comes from Proto-Slavic meďu, from Proto-Indo-European médʰyos, from Proto-Indo-European medʰi-, from Proto-Indo-European me — in the middle of, near, by, around, with.

Ancestry of “межи”, step by step

StepLanguageWordMeaning
1Proto-Slavicmeďubetween, among
2Proto-Indo-Europeanmédʰyosmiddle
3Proto-Indo-Europeanmedʰi-with, among; with, along
4Proto-Indo-Europeanmein the middle of, near, by, around, with
Every word from Proto-Indo-European meEvery word from Proto-Indo-European medʰi-Every word from Proto-Indo-European médʰyos