Working on more efficient implementation of greedy k-center