handles different vertices count for reference meshes