multiple hierarchies: updated reversed rst clusters code