better algorithm to validate new bonds