change margin value for verteces