fixed mapper to map all the occurrences of maximal repeats