added robust vertex clustering