Small bug: mxPath does not check that length(labels)==length(variables)