Add node_map check feature

Why do you make op_stats as shared_ptr?