Complex sentence: Several bands may come together to form a troop, then several troops share a cliff-face which they sleep on.
Split into simpler sentences: Several bands may come together to form a troop. Several troops share a cliff-face which they sleep on.