Cleaning Redundant Nodes within Zig-zag

-Only being able to ignore zig-zag pattern with one-grid length
-Cannot deal with tilted geometry which could produce zig-zag pattern
with multi-grids length