private Point getKey(List<Point> cluster) {
        Point p = cluster.get(0).clone();
        for (Point point : cluster) {
            p.add(point);
        }
        return p.minus(cluster.get(0));
    }