Sádde merkoša šleađgaboasttain: Approximate greedy clustering and distance selection for graph metrics