Next generation methods to preserve farm animal biodiversity by optimizing present and future breeding options