A geometric invariant of discrete groups