make trees unique per book