Improved function to add directional bonds - partial bonds assignments are now retried until no more assignments can be made.