New rescaling algorithm attach nodes. Also added UKLD and DR.