Note: This does currently not work as intended as the moduleToIndexMap gets clear when moving to the second run!