added dnodes for constants, removed error in for reversing, still bugs left in reversegraph