How different empires managed to expand their borders