Combine re element into constructPath

why to just add that to the `d`?