simplify the _extract_field by find the top element in seed element.
tweak the similarity of the STM
fix the generalized node comparison
fix align_records
more fixes