refact vertex dup and initialize