System
Does the current shape match the previous one?
Compare each shape to the previous one. Only the shape type matters!