I'm not sure if I answer correctly your question but the borders (inner > provincial and outter > border with neighbouring countries) are not randomized, they are based on drawings which I vectorized in Illustrator.