minor edits
avoid extra iteration
strict flags
use face index for hashing