Add method for get unique vertices indices