a bug is fixed when RTLs are generated consecutively, modified graph was also changing, it is solved by copying graphs