Mesh optimization using an inconsistency detection template | IEEE Conference Publication | IEEE Xplore