bm_collect function

Mapper for concatenated variables