Switched the OnePath semiring to create paths with inner nodes.