add some code (pseudocode?) for blending vertices