Implemented version of the FastEgoClustering algorithm