Simplify line based path