bm_repeat function

Mapper for repeating a mapper