Bug fix: it turns out that cut N indicates whether there is a cut *after* vertex N.