Add printout for polyline after each change to display difference