move vertex function contributed by Chiossif