added representation of nodes for checking result on 2 random nodes