a combination really,
we usually started with a blending mode like darken, worked out where we wanted people running – trying to pick passes which didnt overlap too much. When problems of overlapping arose we would roto if we could. But the distant guys are pretty hard to roto so I often made a high contrast b/w render of that section and use it as a track matte.