BUG: solved in computeAllInternalStatesFrom due to a possible race condition between threads that led to a wrong RG