It should add a closed subpath with four segments. Instead, it adds an open subpath with six segments.