As the keeping of livestock spread throughout the world , the Cattle Egret was able to occupy otherwise empty niches .
As livestock keeping spread throughout the world it was able to occupy otherwise empty niches .