use get_irn_n(-1) instead of get_nodes_block