Building in molecular diversity for targeted libraries