CoverTree monoidinstance