Path simplification implemented.