added ignoring of repeat vertices in function ...filter