In all fairness OP was mentioning Western Europe. One could argue about the validity of ideologically partitioning Europe into an Eastern and Western part (I know I'm also guilty of that) but that's another discussion.
I'd say that was done fairly organically given the split between ethnicities and Orthodox vs. Catholic churches. Ukraine seems to straddle one of those boundaries.