Revert "Bug fix: Repeat Map hitting the end of file"

This reverts commit 203a939af57bbfb4cecbfa05cac185e0e1e62930.
Bug Fix: Separated RepeatMap from anything else.