Fix reader
handle comments in first line
handle arbitrary node ids ( id > num nodes)