barycentric need to be fixed