fixed a bug in _get_node_pairs that prevented it to get the last node of the second ndoe list
started implementing the parallel normalized version, also some cleanup
finished normalized version