little changes to the debug and remove check for node(id) < 1000