switched 'precompute' to RepeatMap