optimize get_abslocs
remove unused function from dugGen
remove loopheader/order from cfg
remove_node handles cmd_map properly