implementation of RepeatMasker