factor and variable nodes started to be created