use the vertex weight attribute