solve one defect, verify the rotation invariant