removed vertices redundancy