adding k points clustering