Finished xy clustering